// WinForm.cpp : implementation of the CApplication class
//

#include "stdafx.h"
#include "WinForm.h"

CWinForm::CWinForm()
{
	// TODO: add member initialization code here
	
}
CWinForm::~CWinForm()
{

}
CWinFormOptions * CWinForm::GetWinFormOptions()
{
	return &m_winFormOptions;
}
GList * CWinForm::GetWindowTitleList()
{
	return &m_windowTitleList;
}
GList * CWinForm::GetWinFieldList()
{
	return &m_winFieldList;
}
void CWinForm::MapXMLTagsToMembers()
{
	MapAttribute(&m_id,"id");
	MapAttribute(&m_name,"name");
	MapAttribute(&m_type,"type");
	MapAttribute(&m_name,"enabled");
	MapMember(&m_winFormOptions);
	MapMember(&m_windowTitleList,CWindowTitle::GetStaticTag(),"WindowTitles");
	MapMember(&m_winFieldList,CWinField::GetStaticTag(),"WinFields");
}
IMPLEMENT_FACTORY(CWinForm, WinForm);